@extends('backend::layout')

@section('title', '查看评测信息')

@section('content')
    <div class="card">
        <div class="card-body">
            <div class="row">
                <div class="clearfix"></div>
                <div class="col-md-12 col-sm-12 col-xs-12 pull-right">
                    <p>
                        <a href="javascript:history.back(-1);" class="btn btn-primary btn-sm">{{ __('Back') }}</a>
                    </p>
                </div>
            </div>
            <h4 class="text-black f-20">查看评测信息</h4>
            <div class="table-responsive">
                <table class="table table-striped table-hover">
                    <tbody>
                    <tr>
                        <th scope="row">{{ __("学生姓名") }}</th>
                        <td>{{ $assessment->child ? $assessment->child->name : '已删除学生' }}</td>
                    </tr>
                    <tr>
                        <th scope="row">{{ __("评测工具") }}</th>
                        <td>{{ !empty($assessment->tool) ? $assessment->tool->name : $assessment->tool_id }}</td>
                    </tr>
                    <tr>
                        <th scope="row">{{ __("评测阶段") }}</th>
                        <td>{{ $stage[$assessment->stage] }}</td>
                    </tr>
                    <tr>
                        <th scope="row">{{ __("评测日期") }}</th>
                        <td>{{ $assessment->assess_time }}</td>
                    </tr>
                    <tr>
                        <th scope="row">{{ __("生理年龄") }}</th>
                        <td>{{ $assessment->age }}</td>
                    </tr>
                    <tr>
                        <th scope="row">{{ __("评估发展年龄") }}</th>
                        <td>{{ $assessment->agedevelop }}</td>
                    </tr>
                    <tr>
                        <th scope="row">{{ __('Create Time') }}</th>
                        <td>{{ $assessment->created_at }}</td>
                    </tr>
                    <tr>
                        <th scope="row">{{ __('Update Time') }}</th>
                        <td>{{ $assessment->updated_at }}</td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
@stop